﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace AVCare.LMS.Models
{
    [DisplayName("RoleFunction")]
    [Table("SYS_ROLEFUNCTION")]

    public class RoleFunction
    {
        [Key]
        public int ID { get; set; }

        [Column("ROLEFUNCTION_ROLEID", Order = 0)]
        public string RoleID { get; set; }

        [Column("ROLEFUNCTION_FUNCTIONID", Order = 1)]
        public string FunctionID { get; set; }


        public virtual Function Funtion { get; set; }
        public virtual Role Role { get; set; }


    }
}
